package com.sky.mapper;

import com.sky.dto.EmployeeDTO;
import com.sky.po.EmployeePO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 员工映射工具
 * @author ls
 */
@Mapper
public interface EmployeeMapper {
    EmployeeMapper INSTANCE = Mappers.getMapper(EmployeeMapper.class);

    EmployeeDTO POConvertDTO(EmployeePO source);

    EmployeePO DTOConvertPO(EmployeeDTO source);
}
